#ifndef LOADXMLFILEH
#define LOADXMLFILEH
//---------------------------------------------------------------------------
#include <vcl.h>
#include <Menus.hpp>
#include "TntMenus.hpp"
#include <ComCtrls.hpp>
#include "my_xml.h"
#include "GloatValue.h"
#include "TntComCtrls.hpp"
//---------------------------------------------------------------------------
class LoadXMLFile
{
public:
        LoadXMLFile(){};
        bool LoadProject(String FileName);

		bool GetMenus(TMenu *MainMenu);
        bool SetMenus(String FileName){};
        //MessageFile GetMessage();
		bool GetSetting(Setting *defaultSetting);
        bool SetSetting(String FileName,Setting defaultSetting);
        bool GetListView(TTntListView *ManiListView);
        bool GetMessage(MainMsgMenu *defaultMenu);
        bool SetMessage(MainMsgMenu *defaultMenu,String FileName = "Language\\English.xml");
private:
        String _FileName;
        myXML xmlFiles;
        xmlNode root;

        bool TestHead(xmlNode root);
};
//---------------------------------------------------------------------------

#endif



 